<template>
    <div style="margin-left: 180px;padding-top: 15px;background-color: white;width: 1175px;display: flex;">
        <div style="width: 200px;">
            <el-menu router 
                default-active="2"
                class="el-menu-vertical-demo"
                >
                <el-menu-item index="/shouye/userCentre/myOrder">
                    <i class="el-icon-s-order"></i>
                    <span slot="title">我的订单</span>
                </el-menu-item>
                <el-menu-item index="/shouye/userCentre/userInfo">
                    <i class="el-icon-user"></i>
                    <span slot="title">个人信息</span>
                </el-menu-item>
            </el-menu>
        </div>
        <router-view/>
    </div>
</template>

<script>
import orderApi from "@/api/order/order";
export default {
    data() {
        return {
            gameList: [],

        }
    },
    created() {
        this.fetchData()
    },
    methods: {
        fetchData(){
            
        }
    },
}
</script>

<style>
#app{
    background: rgb(246, 246, 246);
    height: 100%;
    overflow: scroll;
  }
</style>